package at.swd.schadl;

public class Auto extends Fahrzeuge {

	//Properties
	String ps, preis;
	
	public Auto(String name, String farbe, String ps, String preis) {
		super(name, farbe);
		this.ps = ps;
		this.preis = preis;
	}
	
	public void printInfo()
	{
		super.printInfo();
		System.out.println("PS: "+this.ps+"\nPreis: "+this.preis);
	}

}
